
package net.mcreator.ender_logistics.item;

import net.minecraft.world.level.Level;
import net.minecraft.world.item.UseAnim;
import net.minecraft.world.item.TooltipFlag;
import net.minecraft.world.item.Rarity;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.Item;
import net.minecraft.network.chat.TextComponent;
import net.minecraft.network.chat.Component;

import net.mcreator.ender_logistics.init.EnderLogisticsModTabs;

import java.util.List;

public class BlankModuleItem extends Item {
	public BlankModuleItem() {
		super(new Item.Properties().tab(EnderLogisticsModTabs.TAB_ENDER_LOGISTICS).stacksTo(16).fireResistant().rarity(Rarity.COMMON));
	}

	@Override
	public UseAnim getUseAnimation(ItemStack itemstack) {
		return UseAnim.EAT;
	}

	@Override
	public void appendHoverText(ItemStack itemstack, Level world, List<Component> list, TooltipFlag flag) {
		super.appendHoverText(itemstack, world, list, flag);
		list.add(new TextComponent(
				"\u7528\u4E8E\u5408\u6210\u5176\u4ED6\u6A21\u5757\uFF0C\u4E5F\u53EF\u4EE5\u7528\u6765\u5835\u4F4F\u5347\u7EA7\u63D2\u69FD"));
	}
}
